mirror of
https://github.com/Valeh2012/PersonalVotingMachine
synced 2024-11-26 10:51:00 +02:00
15 lines
227 B
Makefile
15 lines
227 B
Makefile
|
CFLAGS = -I../../csrc -g -Wall
|
||
|
#CFLAGS = -O4 -Wall
|
||
|
|
||
|
SRC = $(shell ls ../../csrc/*.c 2>/dev/null) test.c
|
||
|
|
||
|
OBJ = $(SRC:.c=.o)
|
||
|
|
||
|
stdio: $(OBJ)
|
||
|
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) -o stdio
|
||
|
|
||
|
clean:
|
||
|
-rm $(OBJ) stdio
|
||
|
|
||
|
test:
|
||
|
./stdio
|