Skip to content

Commit

Permalink
Changed a few lines in the makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikhil Samith Bysani committed Dec 22, 2008
1 parent 1155bb3 commit d39213b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Expand Up @@ -5,7 +5,8 @@
EXENAME=bang-machine

CC=gcc
COPTS=-Wall -Werror -g -D_REENTRANT `pkg-config --cflags --libs gtk+-2.0` -lpthread
COPTS=-Wall -Werror -g -D_REENTRANT -lpthread
GTKOPTS=`pkg-config --cflags --libs gtk+-2.0`

OBJS=bang-com.o bang-net.o bang-signals.o bang-module.o core.o main.o

Expand All @@ -19,10 +20,10 @@ MODULESRC=src/base/bang-module.c
.PHONY: doc

$(EXENAME): $(OBJS)
$(CC) $(COPTS) $^ -o $(EXENAME)
$(CC) $(COPTS) $(GTKOPTS) $^ -o $(EXENAME)

main.o: $(MAINSRC)
$(CC) -c $(COPTS) $^
$(CC) -c $(COPTS) $(GTKOPTS) $^

core.o: $(CORESRC)
$(CC) -c $(COPTS) $^
Expand Down

0 comments on commit d39213b

Please sign in to comment.