06d43e4832
ld: util.a(eprintf.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC util.a: could not read symbols: Bad value *** Error 1 in . (Makefile:114 'basename': @pcc -o basename basename.o util.a -g) *** Error 1 in /home/sin/repos/sbase (Makefile:104 'binlib')
20 lines
357 B
Makefile
20 lines
357 B
Makefile
# sbase version
|
|
VERSION = 0.0
|
|
|
|
# paths
|
|
PREFIX = /usr/local
|
|
MANPREFIX = $(PREFIX)/share/man
|
|
|
|
#CC = gcc
|
|
#CC = musl-gcc
|
|
LD = $(CC)
|
|
CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE
|
|
CFLAGS = -g -ansi -Wall -Wno-long-long -pedantic -fPIC $(CPPFLAGS)
|
|
LDFLAGS = -g
|
|
|
|
#CC = tcc
|
|
#LD = $(CC)
|
|
#CPPFLAGS = -D_POSIX_C_SOURCE=200112L
|
|
#CFLAGS = -Os -Wall $(CPPFLAGS)
|
|
#LDFLAGS =
|