Commit 60528151 authored by garciay's avatar garciay
Browse files

Update for cygwin support

parent bce3d79b
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -37,7 +37,12 @@ ASN1C:=asn1c
#ASN1C_PATH = 

ifneq (, $(ASN1C_PATH))
OS=$(shell uname)
ifneq ("CYGWIN_NT-6.1", $(OS))
ASN1C:=$(ASN1C_PATH)/asn1c/asn1c -S $(ASN1C_PATH)/skeletons
else
ASN1C:=$(ASN1C_PATH)/asn1c/asn1c.exe -S $(ASN1C_PATH)/skeletons
endif
endif

ifeq (,$(ASN_DIR))
@@ -55,7 +60,7 @@ clean:
	rm -rf $(BIN_DIR)

$(BIN_DIR)/../$(ASN_LIBRARY): $(BIN_DIR)/Makefile
	make --trace -C $(BIN_DIR) all
	make -C $(BIN_DIR) all

$(BIN_DIR):
	mkdir -p $@