mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-11-04 20:06:09 +00:00
41 lines
739 B
Makefile
41 lines
739 B
Makefile
include ../Makefile.inc
|
|
|
|
CFLAGS = -O2 -Wall -g
|
|
|
|
all: pcx2hgr png2hgr shape_table dump_table
|
|
|
|
dump_table: dump_table.o
|
|
$(CC) $(LFLAGS) -o dump_table dump_table.o
|
|
|
|
dump_table.o: dump_table.c
|
|
$(CC) $(CFLAGS) -c dump_table.c
|
|
|
|
|
|
shape_table: shape_table.o
|
|
$(CC) $(LFLAGS) -o shape_table shape_table.o
|
|
|
|
shape_table.o: shape_table.c
|
|
$(CC) $(CFLAGS) -c shape_table.c
|
|
|
|
pcx2hgr: pcx2hgr.o
|
|
$(CC) $(LFLAGS) -o pcx2hgr pcx2hgr.o
|
|
|
|
pcx2hgr.o: pcx2hgr.c
|
|
$(CC) $(CFLAGS) -c pcx2hgr.c
|
|
|
|
png2hgr: png2hgr.o
|
|
$(CC) $(LFLAGS) -lpng -o png2hgr png2hgr.o
|
|
|
|
png2hgr.o: png2hgr.c
|
|
$(CC) $(CFLAGS) -c png2hgr.c
|
|
|
|
|
|
|
|
install:
|
|
cp pcx2hgr shape_table png2hgr $(INSTALL_LOC)
|
|
|
|
clean:
|
|
rm -f *~ *.o pcx2hgr shape_table dump_table png2hgr
|
|
|
|
|