EX=devil1test CC=gcc CFLAGS= -I"include" all: main main: devil1pld.o $(CC) $^ test/main.c $(CFLAGS) -o $(EX) devil1pld.o: src/devil1pld.c $(CC) -c $^ $(CFLAGS) clean: rm *.o $(EX)