mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-11-04 20:06:09 +00:00
38 lines
528 B
Makefile
38 lines
528 B
Makefile
include ../Makefile.inc
|
|
|
|
CFLAGS = -g -Wall -O2
|
|
|
|
all: png2gr png2rle
|
|
|
|
|
|
###
|
|
|
|
loadpng.o: loadpng.c loadpng.h
|
|
$(CC) $(CFLAGS) -c loadpng.c
|
|
|
|
|
|
###
|
|
|
|
png2gr: png2gr.o loadpng.o
|
|
$(CC) $(LFLAGS) -lpng -o png2gr png2gr.o loadpng.o
|
|
|
|
png2gr.o: png2gr.c loadpng.h
|
|
$(CC) $(CFLAGS) -c png2gr.c
|
|
|
|
###
|
|
|
|
png2rle: png2rle.o loadpng.o
|
|
$(CC) $(LFLAGS) -lpng -o png2rle png2rle.o loadpng.o
|
|
|
|
png2rle.o: png2rle.c loadpng.h
|
|
$(CC) $(CFLAGS) -c png2rle.c
|
|
|
|
###
|
|
|
|
install:
|
|
cp png2gr png2rle $(INSTALL_LOC)
|
|
|
|
clean:
|
|
rm -f *~ *.o png2gr png2rle
|
|
|