Skip to content

Commit

Permalink
[fix] Makefile doesn't define FORZA_VERSION_HASH
Browse files Browse the repository at this point in the history
  • Loading branch information
Southern committed Oct 25, 2013
1 parent d0d2aae commit 2f681de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
@@ -1,11 +1,11 @@
-include config.mk
include config.mk

OBJS += src/forza.o
OBJS += src/connect.o
OBJS += src/json.o

CFLAGS += -g -Wall -Ideps/libuv/include -Ideps/saneopt/include -Ideps/env/include -Iinclude
ifdef $(FORZA_VERSION_HASH)
ifdef FORZA_VERSION_HASH
CFLAGS += -DFORZA_VERSION_HASH='"$(FORZA_VERSION_HASH)"'
endif

Expand Down Expand Up @@ -34,7 +34,7 @@ src/plugins/%.o: src/plugins/%.c
src/plugins/start.o: libinterposed

forza: $(OBJS)
gcc $^ deps/libuv/libuv.a deps/saneopt/libsaneopt.a deps/env/libenv.a $(LDFLAGS) -o $@
gcc $^ deps/libuv/libuv.a deps/saneopt/libsaneopt.a deps/env/libenv.a $(LDFLAGS) $(CFLAGS) -o $@

libuv:
$(MAKE) -C deps/libuv/
Expand Down

0 comments on commit 2f681de

Please sign in to comment.