Added -Wall to flags and moved devil1geo.o to main directory

This commit is contained in:
_ 2018-04-19 05:19:38 -07:00
parent 70f7ccd29a
commit ed2ee7bf71

View File

@ -3,17 +3,17 @@ TEX=demo-extracttexture
MEX=demo-extractmesh MEX=demo-extractmesh
CC=gcc CC=gcc
CFLAGS= -I"include" CFLAGS= -I"include" -Wall
all: pld texture mesh 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) $(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) $(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) $(CC) $^ demo/extractmesh.c $(CFLAGS) -o $(MEX)
devil1pld.o: src/devil1pld.c devil1pld.o: src/devil1pld.c