I have a make file that works just fine on this version of Linux. HOWEVER why doesn't it run on this other version...
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
codename : trusty
right here... it doesn't run on this one? why?
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
I get this error on xenial...why?
Ubuntu mate $:make
gcc: error: missing filename after ‘-o’
gcc: fatal error: no input files
compilation terminated.
Here is my make file ( updated, last post did not have this )
CFLAGS = gcc -g
OBJ = dummyDriverX1.o x1.o error.o
# Automatic substitution using suffix rules to
%.o: %.c
${CFLAGS} -c $<
%.o: %.cpp
${CFLAGS} -c $<
# Building x1 based on the required .o files
pell: ${OBJ}
${CFLAGS} -o pell ${OBJ}
clean:
rm ${OBJ}