funny stuff

This commit is contained in:
Bjorn Andersson 2006-06-05 13:16:24 +00:00
parent c25e1500a4
commit 8c7a931862
1 changed files with 5 additions and 4 deletions

View File

@ -10,13 +10,14 @@ CFLAGS = -c -g -Wall -D$(OS)
all: stateos $(OUT)
stateos:
@echo Compiling for $(OS)
@echo OS is $(OS)
$(OUT): $(OBJS)
$(CC) $(OBJS) -o $(OUT) $(LDFLAGS)
@$(CC) $(OBJS) -o $(OUT) $(LDFLAGS)
%.o : %.c %.h
$(CC) $(CFLAGS) $< -o $@
.c.o:
@echo Compile $@
@$(CC) $(CFLAGS) $< -o $@
clean:
rm -f $(OUT)