mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2024-11-25 16:28:57 +05:30
18 lines
253 B
Makefile
18 lines
253 B
Makefile
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)
|