fixed compiled sprites
[dosdemo] / libs / imago / GNUmakefile
1 src = $(wildcard src/*.c) \
2           $(wildcard zlib/*.c) \
3           $(wildcard libpng/*.c) \
4           $(wildcard jpeglib/*.c)
5 obj = $(src:.c=.o)
6 alib = libimago.a
7
8 CFLAGS = -m32 -Wno-main -g -Izlib -Ilibpng -Ijpeglib
9
10 $(alib): $(obj)
11         $(AR) rcs $@ $(obj)
12
13 .PHONY: clean
14 clean:
15         rm -f $(obj) $(alib)