sweet stuff

This commit is contained in:
Bjorn Andersson 2006-06-05 13:44:15 +00:00
parent 8631c2991c
commit 0de8e715e3
1 changed files with 4 additions and 5 deletions

View File

@ -13,17 +13,16 @@ stateos:
@echo OS is $(OS)
$(OUT): $(OBJS)
@echo LD $@
@$(CC) $(OBJS) -o $(OUT) $(LDFLAGS)
.c.o:
@echo Compile $@
@echo CC $@
@$(CC) $(CFLAGS) $< -o $@
clean:
rm -f $(OUT)
rm -f *~
rm -f *.o
rm -f *.core
@echo "Cleaning..."
@rm -f $(OUT) *~ *.o *.core
run: $(OUT)
./$(OUT)