nuclear@27: obj = src/main.o \ nuclear@0: src/mingl.o src/mglrast.o src/mglgen.o \ nuclear@3: src/texture.o src/palman.o \ nuclear@26: src/scene.o src/cvec.o src/fixedp.o \ nuclear@0: dosemu/dosemu.o nuclear@0: dep = $(obj:.o=.d) nuclear@25: bin = deepstone nuclear@0: nuclear@0: CC = gcc nuclear@0: CFLAGS = -pedantic -Wall -g `pkg-config --cflags sdl` -Isrc -Idosemu nuclear@25: #-DRAST_FLOAT -DDBG_USE_FLOAT nuclear@25: LDFLAGS = `pkg-config --libs sdl` -lm nuclear@0: nuclear@0: $(bin): $(obj) nuclear@0: $(CC) -o $@ $(obj) $(LDFLAGS) nuclear@0: nuclear@0: -include $(dep) nuclear@0: nuclear@0: %.d: %.c nuclear@0: @$(CPP) $(CFLAGS) $< -MM -MT $(@:.d=.o) >$@ nuclear@0: nuclear@0: .PHONY: clean nuclear@0: clean: nuclear@0: rm -f $(obj) $(bin) nuclear@5: nuclear@5: .PHONY: cleandep nuclear@5: cleandep: nuclear@5: rm -f $(dep)