deepstone

view Makefile @ 11:0909996838ff

fucked up lighting and enabled key repeat in dosemu
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 28 Nov 2011 05:02:08 +0200
parents 0e781cc43178
children be61704c4cc8
line source
1 obj = src/test.o \
2 src/mingl.o src/mglrast.o src/mglgen.o \
3 src/texture.o src/palman.o \
4 dosemu/dosemu.o
5 dep = $(obj:.o=.d)
6 bin = test
8 CC = gcc
9 CFLAGS = -pedantic -Wall -g `pkg-config --cflags sdl` -Isrc -Idosemu
10 LDFLAGS = `pkg-config --libs sdl`
12 $(bin): $(obj)
13 $(CC) -o $@ $(obj) $(LDFLAGS)
15 -include $(dep)
17 %.d: %.c
18 @$(CPP) $(CFLAGS) $< -MM -MT $(@:.d=.o) >$@
20 .PHONY: clean
21 clean:
22 rm -f $(obj) $(bin)
24 .PHONY: cleandep
25 cleandep:
26 rm -f $(dep)