shithub: duke3d

ref: dc86e19872966640fe3d87f016181f2a705969e9
dir: /Engine/src/Makefile/

View raw version
SOURCES=cache.c display.c draw.c dummy_multi.c engine.c filesystem.c fixedPoint_math.c mmulti.c network.c tiles.c
OBJECTS=cache.o display.o draw.o dummy_multi.o engine.o filesystem.o fixedPoint_math.o mmulti.o network.o tiles.o

../../libEngine.a: $(SOURCES)
	gcc -DPLATFORM_UNIX -DBYTE_ORDER=LITTLE_ENDIAN -D_XOPEN_SOURCE=500 -I /usr/include/SDL -I enet/include -c $(SOURCES)
	ar cru ../../libEngine.a $(OBJECTS)
	ranlib ../../libEngine.a

clean:
	rm $(OBJECTS) ../../libEngine.a