makefile-errors

How to change the following Makefile so that it works for MacOS? [closed]

雨燕双飞 提交于 2020-01-25 10:18:05
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last month . I used to do C programming in Linux. Now,I got MacBook and I want to do programming on the Mac. How should I change the following makefile ? # Makefile OBJS = main $(OBJS): $(OBJS).o # gcc -O2 -Wall $(OBJS).c -o $(OBJS) -I/usr/local/include -L/usr/local/lib64 -leggx -lX11 -lm gcc $(OBJS).c -o $(OBJS) -I/usr/local

Makefile Errors - “***missing separator” & “***recipe commences before first target”

眉间皱痕 提交于 2019-12-25 05:19:14
问题 I am trying to build the userland for os161. When I type make in the command line I get the following error: Makefile 24: ***missing separator (did you mean TAB instead of 8 spaces?). Stop. I checked the Makefile at line 24 and tried adding a TAB to the start of the line, but that didn't work as I then get another error: Makefile 24: ***recipe commences before first target. Stop. Here is the full makefile for reference: # # Toplevel makefile for OS/161. # # # Main rules: # all (default):

HTK compile error: make[1]: Nothing to be done for 'all'

非 Y 不嫁゛ 提交于 2019-12-13 03:26:57
问题 Following the official HTK Unix/Linux installation guide, I had similar issues to the ones described in this thread when trying to run make all on HTK. I had initially been looking at the wrong Makefile ( /htk-3.4.1/Makefile ), as suggested by MadScientist. After fixing the extra indentation on line 77 in the correct Makefile ( /htk-3.4.1/HLMTools/Makefile ) generated by running ./configure --prefix=/tmp , the HTK compile error: Makefile:77: *** missing separator (did you mean TAB instead of