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


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

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