shithub: duke3d

ref: 222de35cb34603c9d81375978d5e91821126b2c3
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