1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

add rule to create proxy

- otherwise some make commands aren't able to build the proxy because
  they ignore the LDFLAGS
This commit is contained in:
Stefan Lankes 2016-03-30 22:05:03 +02:00
parent 2ff981cbab
commit 64c88bf77d

View file

@ -4,7 +4,6 @@ NASMFLAGS = -fbin
CC = gcc
CFLAGS = -O2 -Wall
HEXDUMP = hexdump
LDFLAGS = -lelf
PROXYFILES = proxy init.sh $(shell find ../usr/tests ../usr/benchmarks ../usr/openmpbench -type f -executable)
# Prettify output
@ -21,6 +20,10 @@ endif
all: init.h proxy
proxy: proxy.o
@echo [LD] $@
$Q$(CC) $(CFLAGS) -o $@ $< -lelf
init.bin: init.asm
@echo [NASM] $@
$Q$(NASM) $(NASMFLAGS) -o $@ $<