mirror of
https://github.com/Valeh2012/PersonalVotingMachine
synced 2024-11-26 10:51:00 +02:00
16 lines
391 B
Makefile
16 lines
391 B
Makefile
CC = gcc-4.8
|
|
# CFLAGS = -g -pg -Wall -I../../../csrc/. -DNO_SDL
|
|
CFLAGS = -g -pg -Wall -I../../../csrc/. `sdl2-config --cflags`
|
|
|
|
SRC = $(shell ls ../../../csrc/*.c) $(shell ls ../common/*.c ) main.c
|
|
|
|
OBJ = $(SRC:.c=.o)
|
|
|
|
helloworld: $(OBJ)
|
|
# $(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) -o u8g2_sdl
|
|
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) `sdl2-config --libs` -o u8g2_sdl
|
|
|
|
clean:
|
|
-rm $(OBJ) u8g2_sdl
|
|
|