2016-03-11 19:37:48 +00:00
|
|
|
include ../Makefile.inc
|
|
|
|
|
2018-08-24 19:16:28 +00:00
|
|
|
CFLAGS = -O2 -Wall -g
|
|
|
|
|
2018-08-24 18:04:52 +00:00
|
|
|
all: pcx2hgr png2hgr shape_table dump_table
|
2017-01-07 03:49:07 +00:00
|
|
|
|
|
|
|
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
|
2016-03-11 19:37:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2018-08-24 18:04:52 +00:00
|
|
|
png2hgr: png2hgr.o
|
|
|
|
$(CC) $(LFLAGS) -lpng -o png2hgr png2hgr.o
|
|
|
|
|
|
|
|
png2hgr.o: png2hgr.c
|
|
|
|
$(CC) $(CFLAGS) -c png2hgr.c
|
|
|
|
|
|
|
|
|
2016-03-11 19:37:48 +00:00
|
|
|
|
|
|
|
install:
|
2018-08-24 18:04:52 +00:00
|
|
|
cp pcx2hgr shape_table png2hgr $(INSTALL_LOC)
|
2016-03-11 19:37:48 +00:00
|
|
|
|
|
|
|
clean:
|
2018-08-24 18:04:52 +00:00
|
|
|
rm -f *~ *.o pcx2hgr shape_table dump_table png2hgr
|
2016-03-11 19:37:48 +00:00
|
|
|
|
|
|
|
|