reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | CC ?= clang ifeq "$(ARCH)" "" ARCH = x86_64 endif ifeq "$(OS)" "" OS = $(shell uname -s) endif CFLAGS ?= -g -O0 ifeq "$(OS)" "Darwin" CFLAGS += -arch $(ARCH) endif all: main.c clean mkdir hide.app mkdir hide.app/Contents $(CC) $(CFLAGS) -g $< mv a.out.dSYM hide.app/Contents strip -x a.out clean: rm -rf a.out a.out.dSYM hide.app |