sweet stuff
This commit is contained in:
parent
8631c2991c
commit
0de8e715e3
9
Makefile
9
Makefile
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue