dos33fsprogs/hgr-utils/Makefile

32 lines
569 B
Makefile
Raw Normal View History

include ../Makefile.inc
all: pcx2hgr 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
install:
cp pcx2hgr shape_table $(INSTALL_LOC)
clean:
rm -f *~ *.o pcx2hgr shape_table dump_table