File: Makefile_dat2drv

package info (click to toggle)
hplip 3.18.12%2Bdfsg0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 150,024 kB
  • sloc: python: 82,881; ansic: 69,716; cpp: 62,345; sh: 11,412; perl: 4,397; makefile: 926
file content (16 lines) | stat: -rw-r--r-- 382 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
GCCVERSION := $(shell expr `gcc -dumpversion | cut -f1 ` \>= 4.7)
ifeq "$(GCCVERSION)" "1"
        CFLAGS = -std=c++11
endif

dat2drv: datdrv.o Normalize.o
	g++ $(CFLAGS) -o Dat2drv Dat2drv.o Normalize.o

datdrv.o: Dat2drv.cpp Dat2drv.h 
	g++ $(CFLAGS) -c Dat2drv.cpp

Normalize.o: Normalize.cpp Normalize.h
	g++ $(CFLAGS) -c Normalize.cpp

clean:
	rm Dat2drv.o Normalize.o Dat2drv