Explorar o código

Fix build flags

Björn Åström hai 1 ano
pai
achega
e00663aaef
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      Makefile

+ 4 - 2
Makefile

@@ -2,17 +2,19 @@ CC ?= gcc
 CCFLAGS = -g -Wall -lm -ltcl \
 	$(shell pkg-config --cflags --libs glib-2.0)\
 	$(shell pkg-config --cflags --libs libnotify)
-	
+
 SOURCES = qcmd.c term.c
 
+.PHONY: all
 all: qcmd
 
 qcmd: $(SOURCES)
-	$(CC) -o $@ $(CCFLAGS) $(SOURCES)
+	$(CC) -o $@ $(SOURCES) $(CCFLAGS)
 
 .PHONY: clean
 clean:
 	rm -f qcmd
 
+.PHONY: install
 install:
 	install -m755 ./qcmd /usr/local/bin/qcmd