From: Wolfgang (Blub) Bumiller Date: Tue, 2 Oct 2012 13:35:31 +0000 (+0200) Subject: link with $(LIBS), so on linux you can easily add -lrt without changing the Makefile X-Git-Tag: 0.1-rc1~32 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=984d8e7adc0c119da8ff1764f5ee280f240d678c;p=xonotic%2Fgmqcc.git link with $(LIBS), so on linux you can easily add -lrt without changing the Makefile --- diff --git a/Makefile b/Makefile index 6b28f87..a51aed3 100644 --- a/Makefile +++ b/Makefile @@ -52,7 +52,7 @@ test: test_ast test_ir # compiler target gmqcc: $(OBJ_C) $(OBJ) - $(CC) -o $@ $^ $(CFLAGS) + $(CC) -o $@ $^ $(CFLAGS) $(LIBS) #all target is test and all all: test gmqcc