biggest change ever
This commit is contained in:
parent
41d9f87eab
commit
8bfacabcd0
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -27,13 +27,13 @@ dirs:
|
|||
mkdir -p $(BIN)
|
||||
|
||||
$(NAME): $(OBJ)
|
||||
$(CC) -o $(BIN)/$@ $(addprefix $(BIN)/, $^) $(LDFLAGS)
|
||||
$(CC) $(addprefix $(BIN)/, $^) $(LDFLAGS) -o $(BIN)/$@
|
||||
|
||||
%.so: modules/%.c $(LIB)
|
||||
$(CC) -o $(BIN)/$@ $^ -shared -fPIC $(CFLAGS) $(LDFLAGS)
|
||||
$(CC) $^ -shared -fPIC $(CFLAGS) $(LDFLAGS) -o $(BIN)/$@
|
||||
|
||||
%.o: %.c
|
||||
$(CC) -o $(BIN)/$@ -c $< $(CFLAGS)
|
||||
$(CC) -c $< $(CFLAGS) -o $(BIN)/$@
|
||||
|
||||
clean: clean_modules
|
||||
rm -rf $(addprefix $(BIN)/, $(OBJ))
|
||||
|
|
Loading…
Reference in a new issue