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.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=984d8e7adc0c119da8ff1764f5ee280f240d678c;hp=aca5e05173dff6eed44b69d04a09f9e68d6d46ee 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