asn.1/Makefile
changeset 674 a8afa1168b12
parent 670 5a3d50d25168
child 743 e4b613ebac2f
     1.1 --- a/asn.1/Makefile	Sat May 21 16:37:24 2016 +0200
     1.2 +++ b/asn.1/Makefile	Sun May 22 15:14:47 2016 +0200
     1.3 @@ -1,5 +1,15 @@
     1.4  include ../Makefile.conf
     1.5  
     1.6 +ifeq ($(BUILD_ON),Linux)
     1.7 +ifeq ($(BUILD_FOR),Linux)
     1.8 +
     1.9 +CC=gcc
    1.10 +CFLAGS?=-fPIC
    1.11 +else
    1.12 +$(error don't know how to make for $(BUILD_FOR) on $(BUILD_ON))
    1.13 +endif
    1.14 +endif
    1.15 +
    1.16  ALL_SOURCE=$(subst $(NO_SOURCE),,$(wildcard *.c))
    1.17  ALL_OBJECTS=$(subst .c,.o,$(ALL_SOURCE))
    1.18