shithub: duke3d

Download patch

ref: 28cc30cfe94d44445251c63d69cc9572cb17ead8
parent: 04e45448d447b1def481f0ed9e44a492543cb075
author: Marshall Banana <[email protected]>
date: Sat May 2 18:08:14 EDT 2015

Delete old makefiles

--- a/Engine/src/Makefile
+++ /dev/null
@@ -1,10 +1,0 @@
-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
--- a/Game/src/Makefile
+++ /dev/null
@@ -1,17 +1,0 @@
-SOURCES=actors.c animlib.c config.c console.c control.c cvar_defs.c cvars.c dummy_audiolib.c game.c gamedef.c global.c keyboard.c menues.c player.c premap.c rts.c scriplib.c sector.c sounds.c
-OBJECTS=actors.o animlib.o config.o console.o control.o cvar_defs.o cvars.o dummy_audiolib.o game.o gamedef.o global.o keyboard.o menues.o player.o premap.o rts.o scriplib.o sector.o sounds.o
-
-../../libGame.a: audiolib.a libmidi.a $(SOURCES)
-	gcc -DPLATFORM_UNIX -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -I /usr/include/SDL/ -I ../../Engine/src/ -c $(SOURCES)
-	ar cru ../../libGame.a $(OBJECTS) audiolib/*.o midi/*.o
-	ranlib ../../libGame.a
-
-audiolib.a:
-	cd audiolib && make
-libmidi.a:
-	cd midi && make
-
-clean:
-	rm $(OBJECTS) ../../libGame.a
-	cd midi && make clean
-	cd audiolib && make clean
--- a/Game/src/audiolib/Makefile
+++ /dev/null
@@ -1,22 +1,0 @@
-CC=gcc
-AR=ar
-RANLIB=ranlib
-CFLAGS=-g -O2
-LDLIBS=
-
-CFLAGS += $(shell sdl-config --cflags) -DPLATFORM_UNIX -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -DBYTE_ORDER=LITTLE_ENDIAN -I /usr/include/SDL -I ../../../Engine/src/
-LDLIBS += $(shell sdl-config --libs)
-
-OBJ=fx_man.o dsl.o ll_man.o multivoc.o mv_mix.o mvreverb.o nodpmi.o \
-	pitch.o user.o usrhooks.o
-
-../audiolib.a: $(OBJ)
-	rm -rf $@
-	$(AR) rc $@ $^
-	$(RANLIB) $@
-
-clean:
-	rm -rf ../audiolib.a *.o
-
-distclean: clean
-	rm -rf *~
--- a/Game/src/midi/Makefile
+++ /dev/null
@@ -1,10 +1,0 @@
-SOURCES=sdl_midi.c
-OBJECTS=sdl_midi.o
-
-../libmidi.a: $(SOURCES)
-	gcc -DPLATFORM_UNIX -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -DBYTE_ORDER=LITTLE_ENDIAN -I /usr/include/SDL/ -I ../../../Engine/src/ -c $(SOURCES)
-	ar cru ../libmidi.a $(OBJECTS)
-	ranlib ../libmidi.a
-
-clean:
-	rm ../libmidi.a $(OBJECTS)
--- a/Makefile
+++ /dev/null
@@ -1,9 +1,0 @@
-all:
-	cd Engine/src && make
-	cd Game/src && make
-	gcc libGame.a libEngine.a `pkg-config --cflags --libs sdl SDL_mixer` -o chocolate-duke3d
-
-clean:
-	cd Game/src && make clean
-	cd Engine/src && make clean
-	rm chocolate-duke3d