u8g2-copy/sys/tga/mapgen/Makefile

20 lines
463 B
Makefile
Raw Normal View History

2017-07-16 16:13:31 +08:00
CFLAGS = -g -Wall -I../../../csrc/. -I../../../tools/ugl/. -DU8G2_16BIT -DUGL_TEST
2017-07-01 23:05:10 +08:00
SRC = $(shell ls ../../../csrc/*.c) mapgen.c u8g2_d_tga.c
2017-07-09 23:37:16 +08:00
SRC += ../../../tools/ugl/ugl_arrays.c
SRC += ../../../tools/ugl/ugl_error.c
SRC += ../../../tools/ugl/ugl_parse.c
SRC += ../../../tools/ugl/ugl_bc.c
2017-07-01 23:05:10 +08:00
OBJ = $(SRC:.c=.o)
2017-07-06 18:44:14 +08:00
map.c: mapgen gm.map
./mapgen -o map.c gm.map
2017-07-01 23:05:10 +08:00
mapgen: $(OBJ)
2017-07-09 23:37:16 +08:00
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) -o mapgen
2017-07-01 23:05:10 +08:00
clean:
2017-07-06 18:44:14 +08:00
-rm $(OBJ) mapgen map.c
2017-07-01 23:05:10 +08:00