diff options
author | David <dbphillipsnz@gmail.com> | 2014-12-06 09:18:35 +1300 |
---|---|---|
committer | David <dbphillipsnz@gmail.com> | 2014-12-06 09:18:35 +1300 |
commit | 9f8e18e2c326abd248ef060731add28c5af02087 (patch) | |
tree | 0a74b2ead7bd0baae53be06e847ec9aefe124d20 | |
parent | e2355d5b66bc09adffc1e084d33f56fd6ceb9ef4 (diff) | |
download | paramano-9f8e18e2c326abd248ef060731add28c5af02087.tar.xz |
Renamed EXTRA_CFLAGS to DEFS, and alignment fix
-rw-r--r-- | Makefile | 48 |
1 files changed, 24 insertions, 24 deletions
@@ -16,31 +16,31 @@ ROOT_UID=0 ifdef DEBUG - EXTRA_CFLAGS+=-DDEBUG + DEFS += -DDEBUG endif -EXTRA_CFLAGS+= -DPREFIX=\"$(PREFIX)\" \ - -DBINDIR=\"$(BINDIR)\" \ - -DSUDO=\"$(SUDO)\" \ - -DPARAMANO_SET=\"$(PARAMANO_SET)\" \ - -DPARAMANO_CONF=\"$(PARAMANO_CONF)\" \ - -DLOCALEDIR=\"$(LOCALEDIR)\" \ - -DSHAREDIR=\"$(SHAREDIR)\" \ - -DROOT_UID=$(ROOT_UID) \ - -D_GNU_SOURCE - - -DEPS = bat_tray.h \ - common.h \ - config_file.h \ - defaults.h \ - getcore.h \ - getfreq.h \ - getgov.h \ - paramano.h \ - reload.h \ - tray.h \ - paramano_set_interface.h +DEFS += -DPREFIX=\"$(PREFIX)\" \ + -DBINDIR=\"$(BINDIR)\" \ + -DSUDO=\"$(SUDO)\" \ + -DPARAMANO_SET=\"$(PARAMANO_SET)\" \ + -DPARAMANO_CONF=\"$(PARAMANO_CONF)\" \ + -DLOCALEDIR=\"$(LOCALEDIR)\" \ + -DSHAREDIR=\"$(SHAREDIR)\" \ + -DROOT_UID=$(ROOT_UID) \ + -D_GNU_SOURCE + + +DEPS = bat_tray.h \ + common.h \ + config_file.h \ + defaults.h \ + getcore.h \ + getfreq.h \ + getgov.h \ + paramano.h \ + reload.h \ + tray.h \ + paramano_set_interface.h CFLAGS = -I/usr/include/gtk-2.0 \ -I/usr/lib/gtk-2.0/include \ @@ -106,7 +106,7 @@ paramano-set: \ ######################################################################## %.o: %.c $(DEPS) - $(CC) -c -o $@ $< $(CFLAGS) $(EXTRA_CFLAGS) + $(CC) -c -o $@ $< $(CFLAGS) $(DEFS) ######################################################################## |