larmel / lacc

A simple, self-hosting C compiler
MIT License
916 stars 65 forks source link

Fix make install #28

Closed sikmir closed 3 years ago

sikmir commented 3 years ago

Steps to reproduce:

$ make install PREFIX=~/lacc
mkdir -p /home/sikmir/lacc/lib/lacc/include/
cp /home/sikmir/projects/lacc/bin/include/*.h /home/sikmir/lacc/lib/lacc/include/
cp bin/release/lacc /home/sikmir/lacc/bin/lacc
cp: cannot create regular file '/home/sikmir/lacc/bin/lacc': No such file or directory
make: *** [Makefile:130: install] Error 1