dos3d
view Makefile @ 6:7f12c7d084d5
fixed a small error in palman
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 21 Nov 2011 12:11:41 +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)