1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-11-03 04:27:17 -05:00

Allow for the -j flag (parallel make) to work.

This commit is contained in:
David Griffith 2019-01-02 21:31:00 -08:00
parent 522ce27c92
commit 41848c8ec4

View File

@ -51,7 +51,7 @@ IPCRM = /usr/bin/ipcrm
# #
# Platform support, compatible with both BSD and GNU make # Platform support, compatible with both BSD and GNU make
# #
all: all: headers
@case `uname` in \ @case `uname` in \
Darwin) $(MAKE) ROOT="$(OSXROOT)" DESTDIR="$(OSXDEST)" $(BINARY); ;; \ Darwin) $(MAKE) ROOT="$(OSXROOT)" DESTDIR="$(OSXDEST)" $(BINARY); ;; \
Haiku) $(MAKE) EXTRA_LIBS="-lnetwork" $(BINARY); ;; \ Haiku) $(MAKE) EXTRA_LIBS="-lnetwork" $(BINARY); ;; \
@ -84,7 +84,7 @@ ChangeLog:
# #
# Building # Building
# #
$(NAME).c: $(NAME).h $(HEADERS) $(NAME).c: headers $(NAME).h
$(BINARY): $(OBJECTS) $(BINARY): $(OBJECTS)
$(CC) $(LDFLAGS) $(EXTRA_LDFLAGS) $(OBJECTS) $(EXTRA_LIBS) -o $@ $(CC) $(LDFLAGS) $(EXTRA_LDFLAGS) $(OBJECTS) $(EXTRA_LIBS) -o $@