summaryrefslogtreecommitdiff
path: root/commandline
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-05-17 21:19:34 +0200
committerDaniel Friesel <derf@finalrewind.org>2013-05-17 21:19:34 +0200
commit11ca8d00c0340ad428bbe590b963fc8e843487c5 (patch)
tree8eadb834a91335c943c60811188b9029c2ee35cc /commandline
parentbead72f65b5f0fcdb5839fd6bfe24c60adb0f480 (diff)
rename powerSwitch to i2c (more accurate)
Diffstat (limited to 'commandline')
-rw-r--r--commandline/Makefile6
-rw-r--r--commandline/i2c.c (renamed from commandline/powerSwitch.c)0
2 files changed, 3 insertions, 3 deletions
diff --git a/commandline/Makefile b/commandline/Makefile
index 4587b5e..4d33064 100644
--- a/commandline/Makefile
+++ b/commandline/Makefile
@@ -27,7 +27,7 @@ CC = gcc
CFLAGS = $(USBFLAGS) -O -Wall
LIBS = $(USBLIBS)
-PROGRAM = powerSwitch$(EXE_SUFFIX)
+PROGRAM = i2c$(EXE_SUFFIX)
all: $(PROGRAM)
@@ -35,8 +35,8 @@ all: $(PROGRAM)
.c.o:
$(CC) $(CFLAGS) -c $<
-$(PROGRAM): powerSwitch.o
- $(CC) -o $(PROGRAM) powerSwitch.o $(LIBS)
+$(PROGRAM): i2c.o
+ $(CC) -o $(PROGRAM) i2c.o $(LIBS)
strip: $(PROGRAM)
strip $(PROGRAM)
diff --git a/commandline/powerSwitch.c b/commandline/i2c.c
index ce29dde..ce29dde 100644
--- a/commandline/powerSwitch.c
+++ b/commandline/i2c.c