funny stuff
This commit is contained in:
parent
c25e1500a4
commit
8c7a931862
9
Makefile
9
Makefile
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue