Skip to content
Snippets Groups Projects
Commit 29c7b279 authored by rswindell's avatar rswindell
Browse files

Put filename last on cc command-line (required by bc++).

parent 5639575c
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ include targets.mk # defines all and clean targets ...@@ -66,7 +66,7 @@ include targets.mk # defines all and clean targets
# Implicit C Compile Rule # Implicit C Compile Rule
$(ODIR)/%.o : %.c $(ODIR)/%.o : %.c
@echo Compiling $< @echo Compiling $<
@$(CC) $(CFLAGS) -c $< -o$@ @$(CC) $(CFLAGS) -o $@ -c $<
# Create output directories # Create output directories
$(ODIR): $(ODIR):
...@@ -75,5 +75,5 @@ $(ODIR): ...@@ -75,5 +75,5 @@ $(ODIR):
# Executable Build Rule # Executable Build Rule
$(WRAPTEST): $(ODIR)/wraptest.o $(OBJS) $(WRAPTEST): $(ODIR)/wraptest.o $(OBJS)
@echo Linking $@ @echo Linking $@
@$(CC) $(LFLAGS) $^ -o$@ @$(CC) $(LFLAGS) -o $@ $^
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment