mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2024-11-25 08:18:53 +05:30
21 lines
322 B
Makefile
21 lines
322 B
Makefile
EX=devil1test
|
|
CC=gcc
|
|
CFLAGS= -I"include"
|
|
|
|
all: main
|
|
|
|
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)
|
|
|
|
devil1geo.o: src/devil1geo.c
|
|
$(CC) -c $^ $(CFLAGS)
|
|
|
|
clean:
|
|
rm *.o $(EX)
|