mirror of
https://github.com/gophernicus/gophernicus.git
synced 2024-09-01 04:14:15 -04:00
Change LDFLAGS so that -l works
This commit is contained in:
parent
37ac8823b0
commit
0fe375350f
2
Makefile
2
Makefile
@ -61,7 +61,7 @@ headers: $(HEADERS)
|
|||||||
src/$(NAME).c: headers src/$(NAME).h
|
src/$(NAME).c: headers src/$(NAME).h
|
||||||
|
|
||||||
src/$(BINARY): $(OBJECTS)
|
src/$(BINARY): $(OBJECTS)
|
||||||
$(CC) $(LDFLAGS) $(OBJECTS) -o $@
|
$(CC) $(OBJECTS) $(CFLAGS) $(LDFLAGS) -o $@
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(CC) -c $(CFLAGS) -DVERSION="\"$(VERSION)\"" -DCODENAME="\"$(CODENAME)\"" -DDEFAULT_ROOT="\"$(ROOT)\"" $< -o $@
|
$(CC) -c $(CFLAGS) -DVERSION="\"$(VERSION)\"" -DCODENAME="\"$(CODENAME)\"" -DDEFAULT_ROOT="\"$(ROOT)\"" $< -o $@
|
||||||
|
Loading…
Reference in New Issue
Block a user