LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File Makefile of Package tumiki-fighters (Project home:ykoba)

DC=dmd
DFLAGS=-O -debug
DOUT=-o

DSRC=$(shell find src/ -name "*.d")
SOURCES=$(DSRC) import/SDL_video.d import/SDL_mixer.d
OBJS=$(SOURCES:.d=.o)
EXE=tumiki-fighters

all: $(EXE)

$(EXE): $(OBJS)
	dmd -o $@ $(OBJS) -lbulletml -lSDL -lGL -lSDL_mixer

$(OBJS): %.o: %.d
	dmd -d -c -of$@ $(DFLAGS) -Iimport -Isrc -I. $<

clean:
	$(RM) src/*.o
	$(RM) src/abagames/tf/*.o
	$(RM) src/abagames/util/*.o
	$(RM) src/abagames/util/sdl/*.o
	$(RM) src/abagames/util/bulletml/*.o
	$(RM) import/*.o