Add arrow/button images
[fim-ctu.git] / Makefile
blobb810537e3095076e9b213e334ba707ff83702744
1 OBJS = ctu.o res.o menu.o info.o
2 CC = i586-mingw32msvc-gcc
3 LD = i586-mingw32msvc-gcc
4 CFLAGS = -Wall -O2
5 LDLIBS = -lwinmm -lcomdlg32 -lshlwapi
6 LDFLAGS = -mwindows
8 EXE = ctu.exe
10 $(EXE): $(OBJS)
11 $(LD) $(OBJS) -o $@ $(LDLIBS) $(LDFLAGS)
13 res.rc: res.rc.m4
14 m4 res.rc.m4 > $@.tmp
15 mv -f $@.tmp $@
17 res.o: res.rc
18 i586-mingw32msvc-windres res.rc -o $@
20 clean:
21 rm -f *.o $(EXE)