diff options
author | Peter Hofmann <scm@uninformativ.de> | 2014-06-15 09:22:56 +0200 |
---|---|---|
committer | Peter Hofmann <scm@uninformativ.de> | 2014-06-15 09:54:01 +0200 |
commit | f3156e3d82d5a3698fcaa314b0a7492b671bb352 (patch) | |
tree | f02bc5d7765c4d8fbc1184c8fa95e9ec8bfa7260 /Makefile | |
parent | 51e31c889a2cebea01f36acdc1b6bc9d5809dbfa (diff) | |
download | lariza-f3156e3d82d5a3698fcaa314b0a7492b671bb352.tar.gz |
Refactoring: Make the application name a simple parameter in Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,9 +1,11 @@ CFLAGS += -Wall -Wextra -O3 +__NAME__ = zea -zea: zea.c +$(__NAME__): browser.c $(CC) $(CFLAGS) $(LDFLAGS) \ + -D__NAME__=\"$(__NAME__)\" \ -o $@ $< \ `pkg-config --cflags --libs gtk+-2.0 glib-2.0 webkit-1.0` clean: - rm -f zea + rm -f $(__NAME__) |