shithub: duke3d

ref: 935b2d59612ac7945a17b8025848fe1e3c94fc1f
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