ascii-game/Makefile
2017-03-01 16:43:37 +01:00

18 lines
201 B
Makefile

CC=gcc
CFLAG= -O -g -o
objects=main.o\
playfield.o\
input_output.o
all:main
%.o:%.c
$(CC) -c $(CFLAG) $@ $<
main: clean $(objects)
$(CC) $(objects) $(CFLAG) main
clean:
rm $(objects) || true