Skip to content

Commit

Permalink
Use includes in more build steps (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
MakisH committed Jan 31, 2024
1 parent 077d140 commit ffeda14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ $(OBJDIR)/%.o : %.c
$(OBJDIR)/%.o : %.f
$(FC) $(FFLAGS) -c $< -o $@
$(OBJDIR)/%.o : adapter/%.c
$(CC) $(CFLAGS) -c $< -o $@
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
$(OBJDIR)/%.o : adapter/%.cpp
g++ -std=c++11 $(YAML_INCLUDE) -c $< -o $@ $(LIBS)
g++ -std=c++11 $(CFLAGS) $(INCLUDES) -c $< -o $@ $(LIBS)
#$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ $(LIBS)

# Source files in the $(CCX) folder
Expand Down

0 comments on commit ffeda14

Please sign in to comment.