X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=makefile;h=f9ad109ee7f1f5bc8d4379a3d49e958b80b57f13;hb=7e8ce091da421353576edbd2a4a4e620fe0a62bd;hp=651cf2cf1f3dba8c4a89e028b397bd7541c20afd;hpb=eefa2034ad0f5c2ef5eb478984cfc53a6a40c6b7;p=wmpus diff --git a/makefile b/makefile index 651cf2c..f9ad109 100644 --- a/makefile +++ b/makefile @@ -10,11 +10,14 @@ endif ifeq ($(SYS),win32) CC = i686-pc-mingw32-gcc -CFLAGS += -D_NO_OLDNAMES -DMARGIN=15 +CFLAGS += -D_MODE_T_ +LIBS += -lgdi32 PROG = wmpus.exe endif -$(PROG): main.o util.o sys-$(SYS).o wm-$(WM).o +include config.mk + +$(PROG): main.o conf.o util.o sys-$(SYS).o wm-$(WM).o $(CC) $(CFLAGS) -o $@ $+ $(LIBS) %.o: %.c $(wildcard *.h) makefile