mirror of
https://github.com/Valeh2012/PersonalVotingMachine
synced 2026-01-29 09:04:22 +02:00
first commit
This commit is contained in:
19
basic-setup/components/u8g2/sys/tga/mapgen/Makefile
Normal file
19
basic-setup/components/u8g2/sys/tga/mapgen/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
CFLAGS = -g -Wall -I../../../csrc/. -I../../../tools/ugl/. -DU8G2_16BIT -DUGL_TEST
|
||||
|
||||
SRC = $(shell ls ../../../csrc/*.c) mapgen.c u8g2_d_tga.c
|
||||
SRC += ../../../tools/ugl/ugl_arrays.c
|
||||
SRC += ../../../tools/ugl/ugl_error.c
|
||||
SRC += ../../../tools/ugl/ugl_parse.c
|
||||
SRC += ../../../tools/ugl/ugl_bc.c
|
||||
|
||||
OBJ = $(SRC:.c=.o)
|
||||
|
||||
map.c: mapgen gm.map
|
||||
./mapgen -o map.c gm.map
|
||||
|
||||
mapgen: $(OBJ)
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) -o mapgen
|
||||
|
||||
clean:
|
||||
-rm $(OBJ) mapgen map.c
|
||||
|
||||
Reference in New Issue
Block a user