dos33fsprogs/utils/hgr-utils/Makefile

78 lines
1.4 KiB
Makefile
Raw Normal View History

2021-01-05 21:13:43 +00:00
include ../../Makefile.inc
2018-08-24 19:16:28 +00:00
CFLAGS = -O2 -Wall -g
2023-08-24 03:36:02 +00:00
all: pcx2hgr png2hgr png2dhgr shape_table dump_table \
hgr2png hgr_make_sprite png2font
###
dump_table: dump_table.o
$(CC) -o dump_table dump_table.o $(LFLAGS)
dump_table.o: dump_table.c
$(CC) $(CFLAGS) -c dump_table.c
2023-08-24 03:36:02 +00:00
###
shape_table: shape_table.o
$(CC) -o shape_table shape_table.o $(LFLAGS)
shape_table.o: shape_table.c
$(CC) $(CFLAGS) -c shape_table.c
pcx2hgr: pcx2hgr.o
$(CC) -o pcx2hgr pcx2hgr.o $(LFLAGS)
pcx2hgr.o: pcx2hgr.c
$(CC) $(CFLAGS) -c pcx2hgr.c
2021-01-23 20:44:46 +00:00
###
png2hgr: png2hgr.o
$(CC) -o png2hgr png2hgr.o $(LFLAGS) -lpng
png2hgr.o: png2hgr.c
$(CC) $(CFLAGS) -c png2hgr.c
2021-01-23 20:44:46 +00:00
###
2023-08-24 03:36:02 +00:00
png2font: png2font.o
$(CC) -o png2font png2font.o $(LFLAGS) -lpng
png2font.o: png2font.c
$(CC) $(CFLAGS) -c png2font.c
###
2021-08-12 15:48:12 +00:00
hgr_make_sprite: hgr_make_sprite.o
$(CC) -o hgr_make_sprite hgr_make_sprite.o $(LFLAGS) -lpng
hgr_make_sprite.o: hgr_make_sprite.c
$(CC) $(CFLAGS) -c hgr_make_sprite.c
###
2021-01-23 20:44:46 +00:00
hgr2png: hgr2png.o
$(CC) -o hgr2png hgr2png.o $(LFLAGS) -lpng
hgr2png.o: hgr2png.c
$(CC) $(CFLAGS) -c hgr2png.c
###
2020-01-03 04:51:05 +00:00
png2dhgr: png2dhgr.o
$(CC) -o png2dhgr png2dhgr.o $(LFLAGS) -lpng
png2dhgr.o: png2dhgr.c
$(CC) $(CFLAGS) -c png2dhgr.c
install:
2023-08-24 03:36:02 +00:00
cp pcx2hgr shape_table png2hgr hgr2png hgr_make_sprite png2font $(INSTALL_LOC)
clean:
2023-08-24 03:36:02 +00:00
rm -f *~ *.o pcx2hgr shape_table dump_table png2hgr png2dhgr hgr2png hgr_make_sprite png2font