shithub: duke3d

ref: 8680acdefff5d3ff4190431884eed585a9da6294
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