diff options
author | Vasily_Makarov <danilka.pro@gmail.com> | 2012-02-09 12:39:35 +0400 |
---|---|---|
committer | Vasily_Makarov <danilka.pro@gmail.com> | 2012-02-09 12:39:35 +0400 |
commit | b5e9ce2bc42427b55f3a7b8b42845e92e1868f8d (patch) | |
tree | 702cb1fa19d318653be7bfaacb138e4549770f22 /saedit/Makefile | |
parent | cc459a0b40bb56f6559c855ecb5b956b9ee6a90b (diff) | |
download | evol-tools-b5e9ce2bc42427b55f3a7b8b42845e92e1868f8d.tar.gz evol-tools-b5e9ce2bc42427b55f3a7b8b42845e92e1868f8d.tar.bz2 evol-tools-b5e9ce2bc42427b55f3a7b8b42845e92e1868f8d.tar.xz evol-tools-b5e9ce2bc42427b55f3a7b8b42845e92e1868f8d.zip |
SAE: Modify makefile structure
Diffstat (limited to 'saedit/Makefile')
-rw-r--r-- | saedit/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/saedit/Makefile b/saedit/Makefile index a45c3c1..71522dc 100644 --- a/saedit/Makefile +++ b/saedit/Makefile @@ -6,14 +6,17 @@ ifndef LDFLAGS LDFLAGS = endif +ifndef OUTPUT + OUTPUT = saedit +endif + LDFLAGS += -export-dynamic CFLAGS += `pkg-config --cflags gtk+-3.0 gtksourceview-3.0` LDFLAGS += `pkg-config --libs gtk+-3.0 gtksourceview-3.0` -OUTPUT = saedit -all:clean main.o search.o config.o xml.o sae.o compile +all:main.o search.o config.o xml.o sae.o compile clean compile: main.o search.o config.o xml.o gcc ${CFLAGS} ${LDFLAGS} -o '${OUTPUT}' main.o search.o config.o xml.o sae.o main.o: main.c main.h search.h config.h common.h xml.h @@ -27,4 +30,4 @@ config.o: config.c config.h common.h sae.o: sae.c sae.h common.h gcc ${CFLAGS} -c -o sae.o sae.c clean: - rm -rfv '${OUTPUT}' *.o *.o~ *~ + rm -rfv *.o *.o~ *~ |