X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=Makefile;h=17051c264bcae17071cabea88170ae4518385790;hb=b277a410391b94beef0dc1b985c249ef17257204;hp=d1eb82ee46ac57112bed626569894bd5ddaafa47;hpb=d6f2287a82cacb4b0f2ac0696223c5b153cfc00d;p=cl-readline.git diff --git a/Makefile b/Makefile index d1eb82e..17051c2 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,9 @@ -VERSION=0.1 -NAME=cl-readline-$(VERSION) - -all: libreadline-cl.o +basename:=cl-readline +basename2:=cl-termios all: - gcc -fPIC -DPIC -c libreadline-cl.c -o libreadline-cl.o - gcc -shared libreadline-cl.o -lreadline -o libreadline-cl.so + gcc -fPIC -DPIC -c $(basename).c -o $(basename).o + gcc -fPIC -DPIC -c $(basename2).c -o $(basename2).o + gcc -shared $(basename).o $(basename2).o -lreadline -o $(basename).so