lib3ddevil1/Makefile

21 lines
322 B
Makefile
Raw Normal View History

EX=devil1test
CC=gcc
CFLAGS= -I"include"
all: main
2018-04-07 15:54:07 +05:30
main: devil1pld.o devil1tex.o src/devil1geo.o
$(CC) $^ test/main.c $(CFLAGS) -o $(EX)
devil1pld.o: src/devil1pld.c
$(CC) -c $^ $(CFLAGS)
devil1tex.o: src/devil1tex.c
$(CC) -c $^ $(CFLAGS)
2018-04-07 15:54:07 +05:30
devil1geo.o: src/devil1geo.c
$(CC) -c $^ $(CFLAGS)
clean:
rm *.o $(EX)