deepstone
view Makefile @ 2:8c9a63a902d5
added palman to the dos makefile
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 21 Nov 2011 10:15:37 +0200 |
parents | f04884489bad |
children | 0e781cc43178 |
line source
1 obj = src/test.o \
2 src/mingl.o src/mglrast.o src/mglgen.o \
3 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)