mirror of
https://github.com/Valeh2012/PersonalVotingMachine
synced 2024-11-29 12:20:59 +02:00
15 lines
198 B
Makefile
15 lines
198 B
Makefile
|
CFLAGS = -g -Wall
|
||
|
#CFLAGS = -O4 -Wall
|
||
|
|
||
|
SRC = png2bin.c
|
||
|
|
||
|
OBJ = $(SRC:.c=.o)
|
||
|
|
||
|
png2bin: $(OBJ)
|
||
|
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) -o png2bin -lpng
|
||
|
|
||
|
clean:
|
||
|
-rm $(OBJ) png2bin
|
||
|
|
||
|
test:
|
||
|
./png2bin *.png
|