summaryrefslogtreecommitdiff
path: root/draw/make.mk
blob: 1c60780404cb740d6e23d8bb4a18de9e63982a84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
DIR_DRAW = draw/
SOURCES_DRAW += draw/glui.c draw/tui.c draw/ui.c
OBJECTS_DRAW += $(SOURCES_DRAW:.c=.o)
LDFLAGS += -lGL `sdl2-config --cflags --libs`


OBJECTS_DIR_DRAW += $(subst $(DIR_DRAW),$(BUILD_DIR)$(DIR_DRAW),$(OBJECTS_DRAW))

OBJECTS += $(OBJECTS_DRAW)
OBJECTS_FINAL += $(OBJECTS_DIR_DRAW)