Commit 86f32361 authored by Marius Bozga's avatar Marius Bozga
Browse files

fix ar options

parent dd3f21e9
......@@ -49,7 +49,7 @@ IF = ../..
CC = g++
CFLAGS = -c\ -Wall\ -O3 #\ -g
CFLAGS = -c\ -Wall\ -O3\ -I/opt/homebrew/include #\ -g
LDFLAGS = #-g
......
......@@ -94,7 +94,7 @@ clean:
###############
$(LIB): $(OBJ)
$(AR) cql $@ $(OBJ)
$(AR) -rcs $@ $(OBJ)
$(OBJDIR)/%.o: %.C
$(CC) $(CFLAGS) -o $(OBJDIR)/$*.o $*.C
......
......@@ -63,7 +63,7 @@ clean:
#############################
$(LIB): $(OBJ)
$(AR) cql $@ $(OBJ)
$(AR) -rcs $@ $(OBJ)
$(OBJDIR)/%.o: %.C
$(CC) $(CFLAGS) -o $(OBJDIR)/$*.o -I$(IF)/src/simulator $*.C
......
......@@ -85,7 +85,7 @@ clean:
#############################
$(LIB) : $(OBJ)
$(AR) cql $@ $(OBJ)
$(AR) -rcs $@ $(OBJ)
$(OBJDIR)/%.o: %.C
$(CC) $(CFLAGS) -Wpadded -o $(OBJDIR)/$*.o $*.C
$(CC) $(CFLAGS) -Wpadded -o $(OBJDIR)/$*.o $*.C
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment