]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
link with $(LIBS), so on linux you can easily add -lrt without changing the Makefile
authorWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 2 Oct 2012 13:35:31 +0000 (15:35 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 2 Oct 2012 13:35:31 +0000 (15:35 +0200)
Makefile

index 6b28f87ed593ca23e453ac57cee9232382fe1d68..a51aed38ac21cc404c5abba7965af8e8b25cf7ac 100644 (file)
--- 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