diff options
author | jonas <himself@jonasgunz.de> | 2019-04-25 19:11:51 +0200 |
---|---|---|
committer | jonas <himself@jonasgunz.de> | 2019-04-25 19:11:51 +0200 |
commit | 31ab932657889f12ac6ea4e239a75d5f9c021faf (patch) | |
tree | d11576d5477505b70a96ad854056457d8529ee5a /Makefile | |
parent | a2465bb8393f216ecb7a72604180cd9ec21c6fdb (diff) | |
download | headstripper-31ab932657889f12ac6ea4e239a75d5f9c021faf.tar.gz |
Added Windows cross compile, Added DEBUG_PRINTF
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -15,7 +15,18 @@ build: dir $(OBJ) @$(CC) $(CFLAGS) -o $(BUILDDIR)/$(OUTPUT) $(OBJ) $(LDFLAGS) debug: CFLAGS += -g -D _DEBUG -debug: build; +debug: debug_set build; + +#CLEAN BEFORE WINDOWS BUILD!!! +windows: CC = x86_64-w64-mingw32-gcc +windows: OUTPUT =hs.exe +windows: build; + +windows_debug: CC = x86_64-w64-mingw32-gcc +windows_debug: OUTPUT =hs.exe +windows_debug: CFLAGS += -g -D _DEBUG +windows_debug: build; + dir: @mkdir -p $(OBJECTDIR) |