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:
parent
522ce27c92
commit
41848c8ec4
4
Makefile
4
Makefile
@ -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 $@
|
||||||
|
Loading…
Reference in New Issue
Block a user