mirror of
https://github.com/thepigeongenerator/sdl_template.git
synced 2025-12-17 05:55:47 +01:00
fix: remove unused cli arg warning and place -std and -x flags correctly
This commit is contained in:
2
makefile
2
makefile
@@ -76,7 +76,7 @@ $(TARGET): $(OBJ)
|
||||
$(DIR_OBJ)/$(ARCH)/$(PROF)/%.o: src/%.c
|
||||
@$(call wr_colour,"compiling $(notdir $@) from $(notdir $<)",92)
|
||||
@mkdir -p $(dir $@)
|
||||
@$(CC) -o $@ -MD -MP -c $< $(CFLAGS) -std=$(STD) -x $(LANG) -Wno-unused-command-line-argument
|
||||
@$(CC) -o $@ -MD -MP -c -std=$(STD) -x $(LANG) $< $(CFLAGS)
|
||||
|
||||
# copy assets
|
||||
$(DIR_BUILD)/%: assets/%
|
||||
|
||||
Reference in New Issue
Block a user