File: Makefile

package info (click to toggle)
set6x86 1.5-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 144 kB
  • ctags: 50
  • sloc: ansic: 460; makefile: 47; sh: 31
file content (25 lines) | stat: -rw-r--r-- 506 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Makefile for set6x86, a program to get/set Cyrix 6x86 CPU config settings 
# from GNU/Linux

CFLAGS = -O2 -Wall

VERSION=1.5

#############################################################################

_VERSION = -DVERSION=\"$(VERSION)\"
 

get6x86: set6x86
	ln -sf set6x86 get6x86

set6x86: set6x86.c
	$(CC) $(CFLAGS) $(_VERSION) -o set6x86 set6x86.c

6x86_reg: 6x86_reg.c
	$(CC) $(CFLAGS) $(_VERSION) -o 6x86_reg 6x86_reg.c

all: set6x86 get6x86 6x86_reg

clean:
	rm -f get6x86 set6x86 6x86_reg *.o