Makefile
SRC=hello.m OBJ=$(SRC:.m=.o) EXE=hello.exe CC=gcc #-Wall -O3 DEBUG= `gnustep-config --objc-flags` FLAGS= -I /GNUstep/System/Library/Headers -L /GNUstep/System/Library/Libraries LDFLAGS= -lobjc -lgnustep-base EFLAGS= -enable-auto-import -fconstant-string-class=NSConstantString RM=rm %.o: %.m $(CC) $(DEBUG) $(FLAGS) $(LDFLAGS) $(EFLAGS) -o $@ -c $< $(EXE): $(OBJ) $(CC) -o $@ $(OBJ) $(FLAGS) $(LDFLAGS) $(EFLAGS) all: $(EXE) clean: -$ $(RM) $(OBJ)
'코드' 카테고리의 다른 글
FindWindow (0) | 2010.07.13 |
---|---|
SQLPLUS에서 SQL DDL Export (0) | 2009.11.11 |
AWK - 디스크 용량 분석 (0) | 2009.10.13 |
3DES (0) | 2009.09.03 |
TrayIcon - TaskbarCreated 신호시.... (0) | 2009.07.12 |