be friendly to non-Linux non-gcc systems
This commit is contained in:
6
Makefile
6
Makefile
@@ -44,7 +44,7 @@ endif
|
||||
ar cru $@ $^
|
||||
|
||||
%: %.c
|
||||
$(DIET) $(CC) $(CFLAGS) -o $@ $^ -lowfat
|
||||
$(DIET) $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) -lowfat
|
||||
|
||||
t1 parse: ldif.a storage.a
|
||||
t2: ldap.a asn1.a
|
||||
@@ -54,10 +54,10 @@ bindrequest tinyldap tinyldap_standalone tinyldap_debug ldapclient ldapclient_st
|
||||
idx2ldif: ldap.a
|
||||
|
||||
tinyldap_standalone: tinyldap.c
|
||||
$(DIET) $(CC) $(CFLAGS) -DSTANDALONE -o $@ $^ -lowfat
|
||||
$(DIET) $(CC) $(CFLAGS) -DSTANDALONE -o $@ $^ $(LDFLAGS) -lowfat
|
||||
|
||||
tinyldap_debug: tinyldap.c
|
||||
$(DIET) $(CC) $(CFLAGS) -DSTANDALONE -DDEBUG -o $@ $^ -lowfat
|
||||
$(DIET) $(CC) $(CFLAGS) -DSTANDALONE -DDEBUG -o $@ $^ $(LDFLAGS) -lowfat
|
||||
|
||||
.PHONY: clean tar
|
||||
clean:
|
||||
|
||||
Reference in New Issue
Block a user