mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2024-11-22 22:03:00 +05:30
Updated Make for new file names & clean of demo executables
This commit is contained in:
parent
913998e37f
commit
ecc206b5e8
8
Makefile
8
Makefile
@ -8,13 +8,13 @@ CFLAGS= -I"include"
|
|||||||
all: pld texture mesh
|
all: pld texture mesh
|
||||||
|
|
||||||
pld: devil1pld.o devil1tex.o src/devil1geo.o
|
pld: devil1pld.o devil1tex.o src/devil1geo.o
|
||||||
$(CC) $^ demo/pld.c $(CFLAGS) -o $(PEX)
|
$(CC) $^ demo/extractpld.c $(CFLAGS) -o $(PEX)
|
||||||
|
|
||||||
texture: devil1pld.o devil1tex.o src/devil1geo.o
|
texture: devil1pld.o devil1tex.o src/devil1geo.o
|
||||||
$(CC) $^ demo/texture.c $(CFLAGS) -o $(TEX)
|
$(CC) $^ demo/extracttexture.c $(CFLAGS) -o $(TEX)
|
||||||
|
|
||||||
mesh: devil1pld.o devil1tex.o src/devil1geo.o
|
mesh: devil1pld.o devil1tex.o src/devil1geo.o
|
||||||
$(CC) $^ demo/mesh.c $(CFLAGS) -o $(MEX)
|
$(CC) $^ demo/extractmesh.c $(CFLAGS) -o $(MEX)
|
||||||
|
|
||||||
devil1pld.o: src/devil1pld.c
|
devil1pld.o: src/devil1pld.c
|
||||||
$(CC) -c $^ $(CFLAGS)
|
$(CC) -c $^ $(CFLAGS)
|
||||||
@ -26,4 +26,4 @@ devil1geo.o: src/devil1geo.c
|
|||||||
$(CC) -c $^ $(CFLAGS)
|
$(CC) -c $^ $(CFLAGS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm *.o $(EX)
|
rm *.o $(EX) $(PEX) $(TEX) $(MEX)
|
||||||
|
Loading…
Reference in New Issue
Block a user