Skip to content

Commit

Permalink
freestanding version; no includes, only static linking
Browse files Browse the repository at this point in the history
  • Loading branch information
henkman committed May 21, 2015
1 parent d912406 commit 3ebe8af
Show file tree
Hide file tree
Showing 2 changed files with 314 additions and 50 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

SRCS=virgo.c
OBJS=$(SRCS:.c=.o)
CFLAGS=-O3 -nostdlib -Wall -fno-asynchronous-unwind-tables -fno-ident -ffunction-sections -fdata-sections -DRELEASE=1
LIBS=-lgdi32 -luser32 -lshell32 -lmsvcrt -lkernel32
CFLAGS=-O3 -nostdlib -fno-asynchronous-unwind-tables -fno-builtin -fno-ident -ffunction-sections -fdata-sections -Wall -DRELEASE=1
LIBS=-lgdi32 -luser32 -lshell32 -lkernel32
LDFLAGS=-static -nostdlib -fno-builtin -s -Wl,-e,__main,--gc-sections,-subsystem,windows $(LIBS)
ARCH=32
ifeq ($(ARCH), 64)
Expand Down
Loading

0 comments on commit 3ebe8af

Please sign in to comment.