diff --git a/Makefile b/Makefile index bfd5878..7cc9e14 100644 --- a/Makefile +++ b/Makefile @@ -3,17 +3,17 @@ TEX=demo-extracttexture MEX=demo-extractmesh CC=gcc -CFLAGS= -I"include" +CFLAGS= -I"include" -Wall all: pld texture mesh -pld: devil1pld.o devil1tex.o src/devil1geo.o +pld: devil1pld.o devil1tex.o devil1geo.o $(CC) $^ demo/extractpld.c $(CFLAGS) -o $(PEX) -texture: devil1pld.o devil1tex.o src/devil1geo.o +texture: devil1pld.o devil1tex.o devil1geo.o $(CC) $^ demo/extracttexture.c $(CFLAGS) -o $(TEX) -mesh: devil1pld.o devil1tex.o src/devil1geo.o +mesh: devil1pld.o devil1tex.o devil1geo.o $(CC) $^ demo/extractmesh.c $(CFLAGS) -o $(MEX) devil1pld.o: src/devil1pld.c