Updated Make for new file names & clean of demo executables

This commit is contained in:
_ 2018-04-18 00:23:59 -07:00
parent 913998e37f
commit ecc206b5e8

View File

@ -8,13 +8,13 @@ CFLAGS= -I"include"
all: pld texture mesh
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
$(CC) $^ demo/texture.c $(CFLAGS) -o $(TEX)
$(CC) $^ demo/extracttexture.c $(CFLAGS) -o $(TEX)
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
$(CC) -c $^ $(CFLAGS)
@ -26,4 +26,4 @@ devil1geo.o: src/devil1geo.c
$(CC) -c $^ $(CFLAGS)
clean:
rm *.o $(EX)
rm *.o $(EX) $(PEX) $(TEX) $(MEX)