Skip to content

Commit 9f22175

Browse files
Fixing arguments to ar and removing the headers from the archive
1 parent eafc544 commit 9f22175

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@ all: $(OBJECTS)
4343
%.o: %.cpp %.hpp
4444
$(CXX) $(CXXFLAGS) -c -o $@ $< $(INCLUDEARGS)
4545

46-
static: $(OBJECTS) $(HEADERS)
47-
ar cru $(STATIC_LIB) $^
48-
46+
static: $(OBJECTS)
47+
ar cr $(STATIC_LIB) $^
4948

5049
clean:
5150
@-rm -f *.o *.a *~

0 commit comments

Comments
 (0)