sweet stuff

This commit is contained in:
Bjorn Andersson 2006-06-05 13:44:15 +00:00
parent 8631c2991c
commit 0de8e715e3

View File

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