diff --git a/wmtime/wmtime/Makefile b/wmtime/wmtime/Makefile index 26b8571..a1c3c58 100755 --- a/wmtime/wmtime/Makefile +++ b/wmtime/wmtime/Makefile @@ -7,13 +7,13 @@ OBJS = wmtime.o \ XPMS = wmtime-master.xpm wmtime-mask.xbm CC = gcc -CFLAGS = -O2 +CFLAGS += -O2 .c.o: - $(CC) $(CFLAGS) -c -Wall $< -o $*.o + $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -c -Wall $< -o $*.o wmtime: $(OBJS) $(XPMS) - $(CC) $(CFLAGS) -o wmtime $(OBJS) $(LIBDIR) $(LIBS) + $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o wmtime $(OBJS) $(LIBDIR) $(LIBS) clean:: for i in $(OBJS) ; do \