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